package com.zjk.server.api.product;

import com.zjk.PageResult;
import com.zjk.Result;
import com.zjk.pojo.Brand;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.Map;

/**
 * @author: gfk
 * @create: 2022/10/14
 * @Description:
 * @FileName: BrandControllerApi
 * @History:
 * @自定义内容：
 */
@Api
public interface BrandControllerApi {


    @ApiOperation(value = "分页查询")
    public PageResult<Brand> list(Map searchMap, Integer pageNum, Integer pageSize) ;

    @ApiOperation(value = "保存")
    public void add(Brand brand);

    @ApiOperation(value = "根据ID删除")
    public Result delete(Long id);
}
